package org.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WuziqiPageController {

    @GetMapping("/fivechess3")
    public String showGame(Model model) {
        model.addAttribute("title", "五子棋");
        return "FiveChess3"; // 返回视图名，对应 templates 目录下的 FiveChess3.html
    }
}